package study.inversionofcontrol;


public class QuizMasterService {

    QuizMaster quizMaster;
    
    public void setQuizMaster(QuizMaster quizMaster) {
        this.quizMaster = quizMaster;
    }
    
    public void askQuestion()
    {
        System.out.println(quizMaster.popQuestion());
    }
}
